package com.fanhang.samples.spring.security.service;

import org.springframework.security.web.authentication.session.SessionAuthenticationException;

import com.fanhang.samples.spring.security.po.User;

/**
 * 迁移至UserService和WareHouseService
 * 
 * @author fanhang
 */
public interface SessionService {

	/**
	 * 获取当前登录的用户
	 * @author zhangwei@tomstaff.com
	 * @return
	 */
	User getUser() throws SessionAuthenticationException;
	
	public void getList();

	public void get(String sessionId);

	public void delete(String sessionId);
	
}
